package com.clstu.extends_.exercise;

public class PC  extends  Computer{
    private String brand;

    public PC(String cpu, int memeroy, int disk, String brand) {
        super(cpu, memeroy, disk);
        this.brand = brand;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public void showInfo(){
        System.out.println(getInfo()+" brand: "+brand);
    }
}
